package com.woniuxy.cloud52.cinemaassembly.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 座位表
 * </p>
 *
 * @author rc
 * @since 2021-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("c_seat")
public class Seat implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "seat_id", type = IdType.AUTO)
    private Integer seatId;

    /**
     * 关联影厅电影id
     */
    private String mcId;

    /**
     * 座位坐标
     */
    private BigDecimal number;

    /**
     * 状态
     */
    @TableField("STATUS")
    private String status;

    /**
     * 记录添加时间
     */
    private LocalDateTime rawAddTime;

    /**
     * 记录更新时间
     */
    private LocalDateTime rawUpdateTime;


}
